package com.violet.service.manager;

import com.violet.domain.result.ResultPage;
import com.violet.domain.search.MyPage;
import com.violet.domain.search.manager.MOrderSearch;
import com.violet.domain.vo.manager.MOrderVo;

import java.util.List;

public interface MOrderService {
    ResultPage<List<MOrderVo>> search(MOrderSearch search, MyPage myPage);

    Boolean delivery(String orderId, String riderId);

    Boolean cancel(String orderId);

    Boolean complete(String id);
}
